package com.spring.mvc.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0.0
 * @Date: 2022/7/17 16:07
 * @Author ZhuYouBin
 * @Description
 */
@RestController
@RequestMapping("/api")
public class IndexController {

    @RequestMapping("/demo")
    public String demo() {
        return "IndexController Api Demo.";
    }

}
